package me.cat.oopabstractdemo.a01abstractdemo1;

public class Test {
    public static void main(String[] args) {
        Dog d = new Dog("团团", 3);
        System.out.println(d.getName() + "," + d.getAge());
        d.drink();
        d.eat();
    }
}
